package com.harmonypilot.modelconfig.repo;

import com.harmonypilot.modelconfig.domain.ModelConfig;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.Optional;

public interface ModelConfigRepository extends JpaRepository<ModelConfig, Long> {
    Optional<ModelConfig> findByName(String name);
    void deleteByName(String name);
    boolean existsByName(String name);
}


